package tomcat.connector;

public enum  HttpStatus {
    SC_OK(200, "OK"),
    SC_NOT_FOUND(404, "FILE NOT FOUND");

    private int statusCode;
    private String reason;

    HttpStatus(int code, String reason){
        this.reason = reason;
        this.statusCode = code;
    }

    public int getStatusCode() {
        return statusCode;
    }

    public String getReason() {
        return reason;
    }
}
